package com.java1234.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import com.java1234.model.Book;
import com.java1234.util.StringUtil;

/**
 * 图书Dao类
 * 
 * @author 15375
 *
 */
public interface IBookDao {
	public int add(Connection con, Book book) throws Exception;// 图书信息添加

	public ResultSet list(Connection con, Book book) throws Exception;// 图书信息查询

	public int delete(Connection con, String id) throws Exception;// 图书信息删除

	public int update(Connection con, Book book) throws Exception;// 图书信息修改

	public boolean existBookByBookTypeId(Connection con, String bookTypeId) throws Exception;// 指定图书类别下是否存在图书
}
